﻿<nav class="navbar navbar-inverse navbar-default admin-views-nav" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <span class="navbar-brand hide">
                <a class="btn btn-xs btn-default" href="{{SiteVars.RelativeWebRoot}}Account/login.aspx?logoff"><i class="fa fa-power-off fa-lg"></i></a>
                <a class="btn btn-xs btn-default" href="{{SiteVars.RelativeWebRoot}}" target="_blank"><i class="fa fa-home fa-lg"></i></a>
            </span>
        </div>
        <div class="collapse navbar-collapse navbar-ex1-collapse">
            <ul class="nav navbar-nav">
                <li><a href="{{SiteVars.RelativeWebRoot}}admin/#/dashboard">{{lbl.dashboard}}</a></li>
                @if (BlogEngine.Core.Blog.CurrentInstance.IsPrimary)
                {
                    <li><a href="{{SiteVars.RelativeWebRoot}}admin/#/blogs">{{lbl.blogs}}</a></li>
                }
                <li class="active"><a href="{{SiteVars.RelativeWebRoot}}admin/#/content">{{lbl.content}}</a></li>
                <li><a href="{{SiteVars.RelativeWebRoot}}admin/#/custom">{{lbl.custom}}</a></li>
                <li><a href="{{SiteVars.RelativeWebRoot}}admin/#/users">{{lbl.users}}</a></li>
                <li><a href="{{SiteVars.RelativeWebRoot}}admin/#/settings">{{lbl.settings}}</a></li>
            </ul>
            <ul class="nav navbar-nav  navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> {{SiteVars.UserName}} <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="{{SiteVars.RelativeWebRoot}}" target="_blank"><i class="fa fa-home"></i>{{lbl.viewMyBlog}}</a></li>
                        <li><a href="{{SiteVars.RelativeWebRoot}}admin/#/users/profile"><i class="fa fa-user"></i>{{lbl.myProfile}}</a></li>
                        <li><a href="{{SiteVars.RelativeWebRoot}}Account/change-password.aspx"><i class="fa fa-key"></i>{{lbl.changePassword}}</a></li>
                        <li role="presentation" class="divider"></li>
                        <li><a class="text-danger" href="{{SiteVars.RelativeWebRoot}}Account/login.aspx?logoff"><i class="fa fa-power-off"></i>{{lbl.logoff}}</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>